package com.ruoyi.ade.mapper;

import java.util.List;
import com.ruoyi.ade.domain.AdeKnowledge;

/**
 * ADE KnowledgeMapper接口
 * 
 * @author wxh
 * @date 2025-06-04
 */
public interface AdeKnowledgeMapper 
{
    /**
     * 查询ADE Knowledge
     * 
     * @param id ADE Knowledge主键
     * @return ADE Knowledge
     */
    public AdeKnowledge selectAdeKnowledgeById(Long id);

    /**
     * 随机获取一个ADE Knowledge
     * @param adeKnowledge
     * @return
     */
    public AdeKnowledge selectOneRandomAdeKnowledge(AdeKnowledge adeKnowledge);
    /**
     * 查询ADE Knowledge列表
     * 
     * @param adeKnowledge ADE Knowledge
     * @return ADE Knowledge集合
     */
    public List<AdeKnowledge> selectAdeKnowledgeList(AdeKnowledge adeKnowledge);

    /**
     * 新增ADE Knowledge
     * 
     * @param adeKnowledge ADE Knowledge
     * @return 结果
     */
    public int insertAdeKnowledge(AdeKnowledge adeKnowledge);

    /**
     * 修改ADE Knowledge
     * 
     * @param adeKnowledge ADE Knowledge
     * @return 结果
     */
    public int updateAdeKnowledge(AdeKnowledge adeKnowledge);

    /**
     * 删除ADE Knowledge
     * 
     * @param id ADE Knowledge主键
     * @return 结果
     */
    public int deleteAdeKnowledgeById(Long id);

    /**
     * 批量删除ADE Knowledge
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAdeKnowledgeByIds(Long[] ids);
}
